﻿@model  SingletonFullCRUD.Model.Bug
@{
    ViewBag.Title = "EditBug";
}

<h2>Edit Bug</h2>
<form method="post">
    @Html.LabelFor(x => x.Message)<br />
    @Html.TextBoxFor(x => x.Message, new { @class = "form-control" })<br />

    @Html.LabelFor(x => x.UserNameSubmitted)<br />
    @Html.TextBoxFor(x => x.UserNameSubmitted, new { @class = "form-control" })<br />

    @Html.LabelFor(x => x.Priority)<br />
    @Html.EnumDropDownListFor(x => x.Priority, new { @class = "form-control" })<br />

    @Html.LabelFor(x => x.Status)<br />
    @Html.EnumDropDownListFor(x => x.Status, new { @class = "form-control" })<br />

    @Html.HiddenFor(x => x.BugId)

    <button type="submit" class="btn btn-primary">Submit</button>
</form>
